import  axios from  'axios'

export default class HisRegisteredfeeSub {
    static hisRegisteredfeeSub = null

    static getInstance(){
        if(this.hisRegisteredfeeSub == null){
            this.hisRegisteredfeeSub = new HisRegisteredfeeSub()
        }
        return this.hisRegisteredfeeSub
    }

    list(params){
        return axios.get(`http://localhost/register/hisregisteredfeesub/list`,{
            params: params
        })
    }

    add(HisRegisteredfeeSubEntity){
        return axios.post(`http://localhost/register/hisregisteredfeesub/save`,HisRegisteredfeeSubEntity)
    }


    del(regSubIds){
        return axios.delete(`http://localhost/register/hisregisteredfeesub/delete/${regSubIds}`)
    }


}
